<nz-pagination nzTotal="500" [nzItemRender]="itemRenderTpl"></nz-pagination>
<ng-template #itemRenderTpl let-type let-page="page">
  <ng-container [ngSwitch]="type">
    <a *ngSwitchCase="'page'">{{ page }}</a>
    <a *ngSwitchCase="'prev'">Previous</a>
    <a *ngSwitchCase="'next'">Next</a>
    <a *ngSwitchCase="'prev_5'"><<</a>
    <a *ngSwitchCase="'next_5'">>></a>
  </ng-container>
</ng-template>
